import request from '@/utils/request'

/**
* OP80钎焊记录分页查询
* @param {查询条件} data
*/
export function listDcOp80Record(query) {
  return request({
    url: 'business/DcOp80Record/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增OP80钎焊记录
* @param data
*/
export function addDcOp80Record(data) {
  return request({
    url: 'business/DcOp80Record',
    method: 'post',
    data: data,
  })
}
/**
* 修改OP80钎焊记录
* @param data
*/
export function updateDcOp80Record(data) {
  return request({
    url: 'business/DcOp80Record',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取OP80钎焊记录详情
* @param {Id}
*/
export function getDcOp80Record(id) {
  return request({
    url: 'business/DcOp80Record/' + id,
    method: 'get'
  })
}

/**
* 删除OP80钎焊记录
* @param {主键} pid
*/
export function delDcOp80Record(pid) {
  return request({
    url: 'business/DcOp80Record/delete/' + pid,
    method: 'delete'
  })
}

export function GetShelfData() {
  return request({
    url: 'business/DcOp80Record/GetShelfData',
    method: 'post',
   // data: data,
  })
}